package org.hentor.modules.system.vo;

import lombok.Data;
import org.hentor.system.entity.SysUser;

/**
 *  用户名和头像信息
 **/
@Data
public class UserAvatar {

    private String id;

    private String realname;

    private String avatar;

    public UserAvatar(){

    }
    public UserAvatar(SysUser sysUser){
        this.id = sysUser.getId();
        this.realname = sysUser.getRealname();
        this.avatar = sysUser.getAvatar();
    }
}
